Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix indexing bug in recover_configurations #132

Merged
merged 3 commits into from
Jan 31, 2025

Conversation

haimeng-zhang
Copy link
Contributor

In _bipartite_bitstring_correcting() function, the indexing traverses the left subsystem when constructing the probabolity array for the right subsystem. This PR fixes that.

@caleb-johnson caleb-johnson added the bug Something isn't working label Jan 31, 2025
@caleb-johnson
Copy link
Collaborator

caleb-johnson commented Jan 31, 2025

Thanks @haimeng-zhang !

@caleb-johnson caleb-johnson changed the title Fix bitstring traversal in bipartite bitstring correcting Fix indexing bug in recover_configurations Jan 31, 2025
@caleb-johnson caleb-johnson merged commit d3950ed into Qiskit:main Jan 31, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants